﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title></title>
        <script type="text/javascript" >
            window.onload = function () {
                var idcardReader = document.getElementById("idcardReader");
                idcardReader.attachEvent("ReadComplete", function (e) {
                    alert(e.PeopleName);
                    document.getElementById("img").src = e.ImagePath;
                });
                idcardReader.ReadCard(1001);
            };
        </script>
	</head>
	<body>
	    <object classid="clsid:B7E6AA9D-68AC-4BC9-8AC2-D19C66020B7F" id="idcardReader">
        
        </object>
        <img id="img" />
	</body>
</html>